{@ThemeDefault}{{template "header.html" .}}
<div id="links-container" class="main-container container clear">
    <div id="links" class="left">
        <h2 class="h2" id="link-header">好友的链接们</h2>
        <ul id="link-list">{{range .Links}}
            <li><a class="h4" href="{{.url}}" target="_blank">{{.title}}</a>
                <span class="desc">{{.desc}}</span>
            </li>{{end}}
        </ul>
    </div>
    <div id="link-apply-container" class="right">
        <h4 class="h4">申请说明</h4>
        <p id="link-apply-notice">你可以自己提交友链申请。但是，不熟悉的人，不感兴趣的领域，广告营销SEO站点，一律不理。</p>
        <form class="form" id="link-apply-form" action="/links/apply" method="post">
            <p class="item">
                <input class="ipt" id="link-apply-title" type="text" name="title" placeholder="链接名称" required="required"/>
            </p>
            <p class="item">
                <input class="ipt" id="link-apply-url" type="url" name="url" placeholder="链接地址" required="required"/>
            </p>
            <p class="item">
                <button class="btn" id="link-apply-btn" type="submit">申请友链</button>
            </p>
        </form>
    </div>
</div>
{{template "footer.html" .}}